package com.monster.starter.core.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import lombok.Data;

import java.io.Serializable;

/**
 * 公共实体部分
 * @author kuang
 */
@Data
public class BaseEntity extends BaseEntityPlusTime implements Serializable {
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Column(length = 32, isNull = false, comment = "创建人")
    protected String createUser;
    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Column(length = 32, comment = "修改人")
    protected String updateUser;
}
